package com.dmpp.mes.dao;

import com.dmpp.mes.parameterInfo.MaterialQuality;

import java.util.List;

public interface MaterialQualityMapper {


    List<MaterialQuality> findAll(MaterialQuality materialQuality);

    MaterialQuality findByCode(MaterialQuality materialQuality);

    void insert(MaterialQuality materialQuality);

    void updateByCode(MaterialQuality materialQuality);

    void deleteByCode(MaterialQuality materialQuality);

    int count(MaterialQuality materialQuality);

    int semiProductCount(MaterialQuality materialQuality);

    void delete(MaterialQuality materialQuality);
}
